import { Module } from '@nestjs/common';
import { SceneListService } from './scene-list.service';
import { SceneListController } from './scene-list.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { SceneList } from './entities/scene-list.entity';
import { GroupToScence } from './entities/grouptoscene.entity';
import { User } from 'src/user/entities/user.entity';
import { usertogroup } from 'src/group/entities/usertogroup.entity';
import { SceneFileRelationalModule } from 'src/scene_file_relational/scene_file_relational.module';
import { ScenePathRelational } from 'src/scene_path_relational/entities/scene_path_relational.entity';
import { PathListModule } from 'src/path-list/path-list.module';
import { PathItemRelational } from 'src/path-item-relational/entities/path-item-relational.entity';
import { AudioModule } from 'src/audio/audio.module';
import { TextModule } from 'src/text/text.module';
import { VideoModule } from 'src/video/video.module';
import { CameraalongModule } from 'src/cameraalong/cameraalong.module';
import { PictureModule } from 'src/picture/picture.module';
import { DynamiclayerModule } from 'src/dynamiclayer/dynamiclayer.module';
import { CameraRotateModule } from 'src/camera-rotate/camera-rotate.module';
import { GeojsonModule } from 'src/geojson/geojson.module';
import { ImagerasterModule } from 'src/imageraster/imageraster.module';
import { MapEaseModule } from 'src/map-ease/map-ease.module';
import { MarkerModule } from 'src/marker/marker.module';
import { ScenePathRelationalModule } from 'src/scene_path_relational/scene_path_relational.module';
import { PathList } from 'src/path-list/entities/path-list.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([SceneList]),
    TypeOrmModule.forFeature([GroupToScence]),
    TypeOrmModule.forFeature([ScenePathRelational]),
    TypeOrmModule.forFeature([User]),
    TypeOrmModule.forFeature([usertogroup]),
    SceneFileRelationalModule,
    PathListModule,
    TypeOrmModule.forFeature([PathItemRelational]),
    TypeOrmModule.forFeature([PathList]),
    AudioModule,
    TextModule,
    VideoModule,
    PictureModule,
    CameraalongModule,
    DynamiclayerModule,
    CameraRotateModule,
    GeojsonModule,
    ImagerasterModule,
    MapEaseModule,
    MarkerModule,
  ],
  controllers: [SceneListController],
  providers: [SceneListService],
  exports: [SceneListService],
})
export class SceneListModule {}
